import request from './request.js'
// import store from '../../store/index.js'

let header = {
	"Content-Type": "application/x-www-form-urlencoded"
};

/**
 * 创建数据，表名，字段对象
 * @param {Object} model
 * @param {Object} fieldModel
 */
function create(model, fieldModel) {
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	// let token = uni.getStorageSync('token');
	let baseData = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
	}
	//将字段和基础数据合并
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/create/0', data, header);
}

/**
 * 修改数据，表名，字段
 * @param {Object} model
 * @param {Object} fieldModel
 * @param {int} id 
 */
function write(model, fieldModel, ids, domain = '[]') {
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	// let token = uni.getStorageSync('token');
	let baseData = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		domain,
		ids
	}
	//将字段和基础数据合并
	let data = Object.assign(baseData, fieldModel);
	return request.post(`/api/v1/write/0`, data, header);
}
/**
 * 删除数据，表名，ids
 * @param {Object} model
 * @param {Object} ids
 */
function deleteData(model, ids) {
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	// let token = uni.getStorageSync('token');
	let data = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		ids: ids
	}
	return request.post('/api/v1/unlink/0', data, header);
}
/**
 * 单独请求对像
 * @param {Object} model
 * @param {Object} ids
 * @param {Object} fields
 */
function read(model, ids, fields) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let data = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		ids,
		data_type: 'list',
		fields
	}
	return new Promise((resolve, reject) => {
		request.post('/api/v1/read/0', data, header).then(res => {
			resolve(res.data);
		}).catch(err => {
			reject(err)
		})
	});
}
/**
 * 分页请求
 * @param {Object} model
 * @param {Object} fields，查询的字段
 * @param {Object} filter，过滤的条件
 */
function readPage(model, fields, offset, limit, domain = '', filter = {
	search: '',
	search_fields: '',
	order: 'id desc'
}) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));

	let data = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		data_type: 'list',
		partner_id: userInfo.partner_id, //当前用户partner_id，
		fields: fields, //那几个字段
		//过滤条件 可以不写
		search: filter.search, //查询关键字
		search_fields: filter.search_fields, //查询关键字
		offset: offset, //从第几页开始
		limit: limit, //每页显示数量
		order: filter.order, //排序
		domain: domain
	}
	return request.post('/api/v1/page/0', data, header);
}
/**
 * 查询某类的总数量
 * @param {Object} model
 * @param {Object} domain 分类：[('id', '>', 0)]
 */
function searchCount(model, domain) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let data = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		domain: domain
	}
	return request.post('/api/v1/search_count/0', data, header);
}
/**
 * 函数接口
 * @param {Object} model
 * @param {Object} domain 分类：[('id', '>', 0)]
 */
function postFunction(model, functionName, fieldModel = {}, virtualData = "") {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let baseData = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		function_name: functionName,
		data: virtualData
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/getattr/0', data, header);
}

function postFunction1(model, functionName, fieldModel = {}) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let baseData = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
		function_name: functionName,
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/getattr/0', data, header);
}

function postFunction2(model, functionName, fieldModel = {}) {
	// let token = uni.getStorageSync('token');
	// let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let baseData = {
		// access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		// uid: userInfo.uid, //当前用户 uid，      
		// partner_id: userInfo.partner_id, //当前用户partner_id，
		function_name: functionName,
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/public_getattr/0', data, header);
}

function postFunction3(model, functionName, fieldModel = {}) {

	let baseData = {
		model: model,
		function_name: functionName,
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/public_getattr/0', data, header);
}
/**
 * 获取多对一选项数据
 */
function getManyToOneData(model) {
	// let token = uni.getStorageSync('token');
	// let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let data = {
		// access_token: token,
		model: model, //当前对象（表名）
		// uid: userInfo.uid, //当前用户 uid，      
		// partner_id: userInfo.partner_id, //当前用户partner_id，
		limit: 100,
		function_name: '_api_public_page',
	}
	return request.post('/api/v1/public_getattr/0', data, header);
}

function uploadImg(id, model) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let data = {
		access_token: userInfo.access_token,
		model: model, //当前对象（表名）
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
	}
	return request.post(`api/v1/upload_img/${id}`, data, header);
}

function sendSms(mobile, name) {
	return request.post('/api/v1/sms/0', {
		mobile,
		name
	})
}

function verified(fieldModel) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let baseData = {
		access_token: userInfo.access_token,
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/identity/0', data, header);
}

function verified1(fieldModel) {
	// let token = uni.getStorageSync('token');
	let userInfo = JSON.parse(uni.getStorageSync('userInfo'));
	let baseData = {
		access_token: userInfo.access_token,
		uid: userInfo.uid, //当前用户 uid，      
		partner_id: userInfo.partner_id, //当前用户partner_id，
	}
	let data = Object.assign(baseData, fieldModel);
	return request.post('/api/v1/getattr/0', data, header);
}

function postPubileApi(model, function_name, oData = {}) {

	let baseData = {
		model,
		function_name,
	}
	let data = Object.assign(baseData, oData);
	return request.post('/api/v1/public_getattr/0', data)
}


// 招工找活数据列表   加 search
function pageList(model, Page, limit, type, date, search, work) {
	let data = {
		model: model,
		page: Page,
		limit: limit,
		type,
		date,
		search,
		work: work,
		function_name: '_api_public_page',
	}
	return request.post('/api/v1/public_getattr/0', data)
}
// function pageList(model, Page, limit,work, date) {
// 	let data = {
// 		model: model,
// 		page: Page,
// 		limit: limit,
// 		work,
// 		date,
// 		function_name: '_api_public_page',
// 	}
// 	return request.post('/api/v1/public_getattr/0', data)
// }
//找活详情
function pageListId(model, id) {
	let data = {
		model: model,
		wid: id,
		function_name: '_api_public_jhj_work_release_details',
	}
	return request.post('/api/v1/public_getattr/0', data)
}

// 招工详情
function pageZGListId(model, id) {
	let data = {
		model: model,
		rid: id,
		function_name: '_api_public_jhj_recruitment_release_details',
	}
	return request.post('/api/v1/public_getattr/0', data)
}

// 门户首页
function pageApi(model, id, limit, search) {
	let data = {
		model: model,
		function_name: '_api_public_page',
		categ_id: id,
		limit: limit,
		search: search,
	}
	return request.post('/api/v1/public_getattr/0', data)
}
//行业快讯详情
function getIndustryData(id) {
	let data = {
		model: 'cms.news',
		function_name: '_api_public_one',
		news_id: id,
	}
	return request.post('/api/v1/public_getattr/0', data)
}

//行业分析详情
function getAnalysisData(id) {
	let data = {
		model: 'cms.news',
		function_name: '_api_public_one',
		news_id: id,
	}
	return request.post('/api/v1/public_getattr/0', data)
}


// 搜索
function bindSearch(model, date, type, qualifications, number, company) {
	let data = {
		model: model,
		function_name: '_api_public_page',
		date: date,
		type: type,
		qualifications: qualifications,
		number: number,
		company: company,
	}
	return request.post('/api/v1/public_getattr/0', data)
}

// 标签
function tablistApi(model, access_token, uid, partner_id, lang) {
	let data = {
		model: model,
		function_name: '_api_jhj_label',
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		lang: lang,
		cache: false,
	}
	return request.post('/api/v1/getattr/0', data)
}

// 发布招工接口
function recruitApi(access_token, uid, partner_id, lang, cache, label_ids,
	recruitment_type, settlement_method, work_type, number, contacts, contacts_method, requirement, recruitment_cycle,
	city_id, area_id,
	model
) {
	let data = {
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		lang: lang,
		cache: cache,
		label_ids: label_ids,
		recruitment_type: recruitment_type,
		settlement_method: settlement_method,
		work_type: work_type,
		number: number,
		contacts: contacts,
		contacts_method: contacts_method,
		requirement: requirement,
		recruitment_cycle: recruitment_cycle,
		city_id: city_id,
		area_id: area_id,
		model: model,
		function_name: "_api_jhj_recruitment_release",
		location_company_id: 2
	}
	return request.post('/api/v1/getattr/0', data)
}

// 城市选择  省
function countryApi(model, access_token, uid, partner_id, lang) {
	let data = {
		model: model,
		function_name: '_api_jhj_state',
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		lang: lang,
		cache: false,
		country_id: 48
	}
	return request.post('/api/v1/getattr/0', data)
}

// 城市选择  市
function stateApi(model, access_token, uid, partner_id, lang, state_id) {
	let data = {
		model: model,
		function_name: '_api_jhj_city',
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		lang: lang,
		cache: false,
		state_id: state_id
	}
	return request.post('/api/v1/getattr/0', data)
}

// 城市选择  区
function cityidApi(model, access_token, uid, partner_id, lang, city_id) {
	let data = {
		model: model,
		function_name: '_api_jhj_area',
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		lang: lang,
		cache: false,
		city_id: city_id
	}
	return request.post('/api/v1/getattr/0', data)
}


//班组项目
function classProject(model, function_name, team_id) {
	let data = {
		model: model,
		function_name: function_name,
		team_id: team_id
	}
	return request.post('/api/v1/public_getattr/0', data)
}
//班组-投标
function classTender(model, function_name, access_token, uid, partner_id, users, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		users: users,
		limit: limit,
		page: page
	}
	return request.post('/api/v1/getattr/0', data)
}
//班组-中标
function classWining(model, function_name, access_token, uid, partner_id, domain, users, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		domain: domain,
		users: users,
		limit: limit,
		page: page
	}
	return request.post('/api/v1/getattr/0', data)
}
//班组-中标
function classToubiao(model, function_name, access_token, uid, partner_id, users, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		users: users,
		limit: limit,
		page: page
	}
	return request.post('/api/v1/getattr/0', data)
}
//班组-找活-招工
function lookingLive(model, function_name, access_token, uid, partner_id) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		partner_id: partner_id
	}
	return request.post('/api/v1/getattr/0', data)
}
//班组-发布找活
function releaseLive(model, function_name, access_token, uid, user_id, partner_id, domain, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		user_id: user_id,
		partner_id: partner_id,
		domain: domain,
		limit: limit,
		page: page
	}
	return request.post('/api/v1/getattr/0', data)
}
//班组-下架找活
function downLive(model, function_name, access_token, release_id, in_from_sale) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		release_id: release_id,
		in_from_sale: in_from_sale

	}
	return request.post('/api/v1/getattr/0', data)
}
//消息-公告
function messageList(model, function_name, access_token, uid, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		limit: limit,
		page: page

	}
	return request.post('/api/v1/getattr/0', data)
}
//消息
function messageRead(model, function_name, access_token, uid, pid) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		pid: pid

	}
	return request.post('/api/v1/getattr/0', data)
}
//消息/工人人信息详情
function workerClass(model, function_name, access_token, uid) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid

	}
	return request.post('/api/v1/getattr/0', data)
}
//工人学习
function workerStudy(model, function_name, access_token, uid, partner_id, limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		partner_id: partner_id,
		limit: limit,
		page: page

	}
	return request.post('/api/v1/public_getattr/0', data)
}

// 城市
function cityApi(model, function_name, access_token) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
	}
	return request.post('/api/v1/getattr/0', data)
}
// 工程企业-项目
function companyProject(model, function_name, access_token, domain, search, name, project_type, order, uid, partner_id,
	limit, page) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		domain: domain,
		search: search,
		name: name,
		project_type: project_type,
		order: order,
		uid: uid,
		partner_id: partner_id,
		limit: limit,
		page: page,
	}
	return request.post('/api/v1/getattr/0', data)
}

//劳务企業-班主工人
function laborClass(model, function_name, company_id) {
	let data = {
		model: model,
		function_name: function_name,
		company_id: company_id

	}
	return request.post('/api/v1/public_getattr/0', data)
}

//当前积分
function currentIntegral(access_token, model, function_name, uid) {
	let data = {
		access_token,
		model,
		function_name,
		uid
	}
	return request.post('/api/v1/getattr/0', data)
}

//完善信息
function perfectInformation(access_token, model, function_name, uid,
	work_type_grade,
	work_type,
	work_years,
	sex,
	nation,
	education_degree,
	address) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		work_type_grade,
		work_type,
		work_years,
		sex,
		nation,
		education_degree,
		address
	}
	return request.post('/api/v1/getattr/0', data)
}

//工人  实名认证
function realNameAuthentication(access_token, model, function_name, uid, name, idcard_file_a, idcard_file_b, user_type,
	idcard) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		name,
		idcard_file_a,
		idcard_file_b,
		user_type,
		idcard
	}
	return request.post('/api/v1/getattr/0', data)
}
//完善信息
function information(access_token, model, function_name, uid, user_type,
	name,
	team_leader_name,
	work_type,
	company_id,
	date,
	office_address,
	business_ids,
	city_ids,
	worker_id,
	team_id) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		user_type,
		name,
		team_leader_name,
		work_type,
		company_id,
		date,
		office_address,
		business_ids,
		city_ids,
		worker_id,
		team_id
	}
	return request.post('/api/v1/getattr/0', data)
}

//
function personal_information(access_token, model, function_name, uid, user_type) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		user_type
	}
	return request.post('/api/v1/getattr/0', data)
}

//删除角色  返回
function delete_role(access_token, model, function_name, uid, mobile) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		mobile
	}
	return request.post('/api/v1/getattr/0', data)
}

//注册
function register(access_token, model, function_name, uid, account_type, mobile) {
	let data = {
		access_token,
		model,
		function_name,
		uid,
		account_type,
		mobile
	}
	return request.post('/api/v1/getattr/0', data)
}

//修改个人信息
function modifyInformation(access_token, model, function_name, uid, user_type, oData = {}) {
	let basedata = {
		access_token,
		model,
		function_name,
		uid,
		user_type
	}

	let data = Object.assign(basedata, oData);
	return request.post('/api/v1/getattr/0', data)
}

function login(code) {
	let data = {
		code
	}
	return request.post('/wmp', data)
}


//积分详情
function pointsDetails(access_token, model, function_name, uid) {
	let data = {
		access_token,
		model,
		function_name,
		uid
	}
	return request.post('/api/v1/getattr/0', data)
}

//积分商品列表页
function goodsList(model, function_name, access_token, name, type, num, integral) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		name: name,
		type: type,
		num: num,
		integral: integral
	}
	return request.post('/api/v1/getattr/0', data)
}
//积分兑换
function exchangegood(model, function_name, access_token, num, pid, uid) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		num: num,
		pid: pid,
		uid: uid,
	}
	return request.post('/api/v1/getattr/0', data)
}
//积分兑换券
function ticketsList(model, function_name, access_token, uid, type) {
	let data = {
		model: model,
		function_name: function_name,
		access_token: access_token,
		uid: uid,
		type: type,

	}
	return request.post('/api/v1/getattr/0', data)
}

//招工信息
function recruitmentInformation(model, function_name, access_token, work_type, label_tag_ids, address, number1, number2,
	days, day1, day2, name) {
	let data = {
		model,
		function_name,
		access_token,
		work_type,
		label_tag_ids,
		address,
		number1,
		number2,
		days,
		day1,
		day2,
		name
	}
	return request.post('/api/v1/getattr/0', data)
}

//招工详情
function recruitmentDetails(model, function_name, access_token, uid, recruit_id) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		recruit_id,
	}
	return request.post('/api/v1/getattr/0', data)
}

//找活信息
function jobInformation(model, function_name, access_token, work_type,
	number1,
	number2,
	name,
	city_id,
	day1,
	day2,
	days,
	begin_date,
	end_date) {
	let data = {
		model,
		function_name,
		access_token,
		work_type,
		number1,
		number2,
		name,
		city_id,
		day1,
		day2,
		days,
		begin_date,
		end_date
	}
	return request.post('/api/v1/getattr/0', data)
}

//找活详情
function jobDetails(model, function_name, access_token, uid, work_id) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		work_id
	}
	return request.post('/api/v1/getattr/0', data)
}

//我的招工
function myRecruitments(model, function_name, access_token, uid, in_from_sale, work_type, city_id, name) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		in_from_sale,
		work_type,
		city_id,
		name
	}
	return request.post('/api/v1/getattr/0', data)
}

//我的找活
function myJob(model, function_name, access_token, uid, in_from_sale, work_type, city_id, name) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		in_from_sale,
		work_type,
		city_id,
		name
	}
	return request.post('/api/v1/getattr/0', data)
}

//招工下架  找活下架
function recruitmentShelf(model, function_name, access_token, reason_id, recruit_id, work_id) {
	let data = {
		model,
		function_name,
		access_token,
		reason_id,
		recruit_id,
		work_id
	}
	return request.post('/api/v1/getattr/0', data)
}

//招工详情修改
function editrecruitmentDetail(model, function_name, access_token, uid,
	work_type, number, settlement_method, state_id, city_id, requirement, recruit_id) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		work_type,
		number,
		settlement_method,
		state_id,
		city_id,
		requirement,
		recruit_id
	}
	return request.post('/api/v1/getattr/0', data)
}

//创建订单
function createOrder(model, function_name, access_token, order_type, work_type_name, address, publish_user, receiver,
	recruit_id, work_id,
) {
	let data = {
		model,
		function_name,
		access_token,
		order_type,
		work_type_name,
		address,
		publish_user,
		receiver,
		recruit_id,
		work_id,
	}
	return request.post('/api/v1/getattr/0', data)
}

//订单详情
function orderDetails(model, function_name, access_token, uid, order_num) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		order_num
	}
	return request.post('/api/v1/getattr/0', data)
}

//确认订单
function confirmOrder(model, function_name, access_token, uid, order_num, confirm) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		order_num,
		confirm
	}
	return request.post('/api/v1/getattr/0', data)
}

//消息列表
function msgList(model, function_name, access_token, uid) {
	let data = {
		model,
		function_name,
		access_token,
		uid
	}
	return request.post('/api/v1/getattr/0', data)
}

//用工查询
function empQuery(model, function_name, access_token, uid, name, idcard) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		name,
		idcard
	}
	return request.post('/api/v1/getattr/0', data)
}

//工人考勤
function workerAtt(model, function_name, access_token, uid, partnerid, startday, endday) {
	let data = {
		model,
		function_name,
		access_token,
		uid,
		partnerid,
		startday,
		endday
	}
	return request.post('/api/v1/getattr/0', data)
}

export default {
	empQuery,
	workerAtt,
	recruitmentInformation,
	recruitmentDetails,
	jobInformation,
	jobDetails,
	myRecruitments,
	myJob,
	recruitmentShelf,
	createOrder,
	orderDetails,
	confirmOrder,
	msgList,
	delete_role,
	register,
	login,
	modifyInformation,
	currentIntegral,
	perfectInformation,
	information,
	realNameAuthentication,
	pointsDetails,
	classProject,
	classTender,
	classToubiao,
	classWining,
	lookingLive,
	releaseLive,
	downLive,
	messageList,
	messageRead,
	workerClass,
	workerStudy,
	cityApi,
	companyProject,
	laborClass,
	ticketsList,
	goodsList,
	exchangegood,
	create,
	write,
	deleteData,
	read,
	readPage,
	searchCount,
	postFunction,
	postFunction1,
	postFunction2,
	postFunction3,
	getManyToOneData,
	uploadImg,
	sendSms,
	postPubileApi,
	verified,
	verified1,


	pageList,
	pageListId,
	pageZGListId,
	pageApi,
	bindSearch,
	recruitApi,
	tablistApi,
	countryApi,
	stateApi,
	cityidApi,

	getIndustryData,
	getAnalysisData,
	personal_information
}
